<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="four.book.entity.User"%>
<%@page import="java.util.List"%>
<%@ include file="header.jspf"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<style type="text/css">
table {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: brown;
	font-size: 15px;
}

table td {
	text-align: center;
	padding-top: 20px;
}

.showAnniu {
	color: orange;
	background: white;
	border: none;
}
</style>

<div id="main">
	<h1>所有用户</h1>
	<a href="${pageContext.request.contextPath}/Manger/toManger.do">&nbsp;&nbsp;&nbsp;&nbsp;<input
		class="showAnniu" type="button" value="返回" /></a>
	<div class="content">

		<table border="0">
			<tr>
				<td>用户ID</td>
				<td>用户名</td>
				<td>用户密码</td>
				<td>昵称</td>
				<td>电话</td>
				<td>个性签名</td>
				<td>爱好</td>
				<td>地址</td>
				<td>删除</td>
			</tr>
			<c:forEach var="user" items="${requestScope.USERLIST}">

				<tr>
					<td>${user.userId}</td>
					<td>${user.userName}</td>
					<td>${user.userPass}</td>
					<td>${user["userNickname"]}</td>
					<td>${user["userPhone"]}</td>
					<td>${user["userSignature"]}</td>
					<td>${user["userHobby"]}</td>
					<td>${user["address"]}</td>		 
 					<td><input  class="showAnniu" id="shanchu" type="button" value="删除" onclick="deleteUser(${user.userId})"/></td>
				</tr>
			</c:forEach>
		</table>
	</div>
</div>
<%@ include file="footer.jspf"%>
